package com.ruoyi.informfrontend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 关于我们对象 about
 * 
 * @author ruoyi
 * @date 2023-05-18
 */
public class About extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 案例类型：1政府案例、2园区案例、3企业案例  */
    @Excel(name = "案例类型：1政府案例、2园区案例、3企业案例 ")
    private Long type;

    /** 封面 */
    @Excel(name = "封面")
    private String coverResource;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 链接类型1富文本2、外链 */
    @Excel(name = "链接类型1富文本2、外链")
    private Long linkType;

    /** 下载附件 */
    @Excel(name = "下载附件")
    private String downloadUrl;

    /** 链接值 */
    @Excel(name = "链接值")
    private String linkVal;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0有效1失效 */
    @Excel(name = "状态0有效1失效")
    private Long state;

    /** 是否删除0否1是 */
    @Excel(name = "是否删除0否1是")
    private Long dr;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private Long num;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setCoverResource(String coverResource) 
    {
        this.coverResource = coverResource;
    }

    public String getCoverResource() 
    {
        return coverResource;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLinkType(Long linkType) 
    {
        this.linkType = linkType;
    }

    public Long getLinkType() 
    {
        return linkType;
    }
    public void setDownloadUrl(String downloadUrl) 
    {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl() 
    {
        return downloadUrl;
    }
    public void setLinkVal(String linkVal) 
    {
        this.linkVal = linkVal;
    }

    public String getLinkVal() 
    {
        return linkVal;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setDr(Long dr) 
    {
        this.dr = dr;
    }

    public Long getDr() 
    {
        return dr;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("coverResource", getCoverResource())
            .append("title", getTitle())
            .append("linkType", getLinkType())
            .append("downloadUrl", getDownloadUrl())
            .append("linkVal", getLinkVal())
            .append("note", getNote())
            .append("sort", getSort())
            .append("state", getState())
            .append("dr", getDr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("num", getNum())
            .toString();
    }
}
